package com.geovis.emergency.spd.entity.system.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.geovis.emergency.spd.entity.basic.entity.BaseSpdEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 附件-业务关联表
 * </p>
 *
 * @author 曾德实
 * @since 2020-09-01
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("system_file_business")
@NoArgsConstructor
@ApiModel(value = "SystemFileBusiness对象", description = "附件-业务关联表")
public class SystemFileBusiness extends BaseSpdEntity {

    @ApiModelProperty(value = "文件Id")
    private String fileId;

    @ApiModelProperty(value = "业务类型")
    private String type;

    @ApiModelProperty(value = "业务关联ID")
    private String relatedId;

    @ApiModelProperty(value = "附加业务关联1")
    private String param1;

    @ApiModelProperty(value = "附加业务关联2")
    private String param2;

    @ApiModelProperty(value = "附加业务关联3")
    private String param3;

    @ApiModelProperty(value = "附加业务关联4")
    private String param4;

    public SystemFileBusiness(String fileId, String type, String relatedId) {
        this.fileId = fileId;
        this.type = type;
        this.relatedId = relatedId;
    }

}
